package com.train.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.train.dto.TicketDTO;
import com.train.resp.TicketPageResp;
import com.train.common.resp.PageResp;
import com.train.dto.TicketPageDTO;
import com.train.ticket.po.TicketPO;

import java.util.List;

/**
 * @author baitiaojun
 * @description 针对表【ticket(车票)】的数据库操作Service
 * @createDate 2025-03-14 15:17:16
 */
public interface TicketService extends IService<TicketPO> {

    PageResp<TicketPageResp> pageList(TicketPageDTO ticketPageDTO);

    void remove(Long id);

    void batchSaveTicket(List<TicketDTO> dto);
}
